#!/bin/bash

ip=$1
if [[ "x$ip" == "x" ]];then
	echo "param 1 is required."
	exit -1
fi
for i in {2..254};do
	{
		ping -c 1 $1.$i
	}&
done
